package com.comall.dc.banktest.infrastructure.dao.service;

import com.comall.dc.banktest.domain.model.Account;
import com.comall.dc.banktest.infrastructure.entity.AccountPO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 用户账户 服务类
 * </p>
 *
 * @author GodMeowIceSun
 * @since 2021-11-02
 */
public interface AccountDAO extends IService<AccountPO> {

    List<AccountPO> listByTimeRangeAndLikeIdAndLikeIdCardAndLikeUserPhone(
            LocalDateTime beginTime, LocalDateTime endTime, String likeId, String likeIdCard, String likeUserPhone);

    boolean isIdCardExist(String idCard);
}
